package com.hongxinguoji.manager.company.pojo;

import java.util.ArrayList;
import java.util.List;

public class HxCompanyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HxCompanyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andAboutIsNull() {
            addCriterion("about is null");
            return (Criteria) this;
        }

        public Criteria andAboutIsNotNull() {
            addCriterion("about is not null");
            return (Criteria) this;
        }

        public Criteria andAboutEqualTo(String value) {
            addCriterion("about =", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutNotEqualTo(String value) {
            addCriterion("about <>", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutGreaterThan(String value) {
            addCriterion("about >", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutGreaterThanOrEqualTo(String value) {
            addCriterion("about >=", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutLessThan(String value) {
            addCriterion("about <", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutLessThanOrEqualTo(String value) {
            addCriterion("about <=", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutLike(String value) {
            addCriterion("about like", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutNotLike(String value) {
            addCriterion("about not like", value, "about");
            return (Criteria) this;
        }

        public Criteria andAboutIn(List<String> values) {
            addCriterion("about in", values, "about");
            return (Criteria) this;
        }

        public Criteria andAboutNotIn(List<String> values) {
            addCriterion("about not in", values, "about");
            return (Criteria) this;
        }

        public Criteria andAboutBetween(String value1, String value2) {
            addCriterion("about between", value1, value2, "about");
            return (Criteria) this;
        }

        public Criteria andAboutNotBetween(String value1, String value2) {
            addCriterion("about not between", value1, value2, "about");
            return (Criteria) this;
        }

        public Criteria andGroupTelIsNull() {
            addCriterion("group_tel is null");
            return (Criteria) this;
        }

        public Criteria andGroupTelIsNotNull() {
            addCriterion("group_tel is not null");
            return (Criteria) this;
        }

        public Criteria andGroupTelEqualTo(String value) {
            addCriterion("group_tel =", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelNotEqualTo(String value) {
            addCriterion("group_tel <>", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelGreaterThan(String value) {
            addCriterion("group_tel >", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelGreaterThanOrEqualTo(String value) {
            addCriterion("group_tel >=", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelLessThan(String value) {
            addCriterion("group_tel <", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelLessThanOrEqualTo(String value) {
            addCriterion("group_tel <=", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelLike(String value) {
            addCriterion("group_tel like", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelNotLike(String value) {
            addCriterion("group_tel not like", value, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelIn(List<String> values) {
            addCriterion("group_tel in", values, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelNotIn(List<String> values) {
            addCriterion("group_tel not in", values, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelBetween(String value1, String value2) {
            addCriterion("group_tel between", value1, value2, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupTelNotBetween(String value1, String value2) {
            addCriterion("group_tel not between", value1, value2, "groupTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelIsNull() {
            addCriterion("group_service_tel is null");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelIsNotNull() {
            addCriterion("group_service_tel is not null");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelEqualTo(String value) {
            addCriterion("group_service_tel =", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelNotEqualTo(String value) {
            addCriterion("group_service_tel <>", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelGreaterThan(String value) {
            addCriterion("group_service_tel >", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelGreaterThanOrEqualTo(String value) {
            addCriterion("group_service_tel >=", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelLessThan(String value) {
            addCriterion("group_service_tel <", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelLessThanOrEqualTo(String value) {
            addCriterion("group_service_tel <=", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelLike(String value) {
            addCriterion("group_service_tel like", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelNotLike(String value) {
            addCriterion("group_service_tel not like", value, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelIn(List<String> values) {
            addCriterion("group_service_tel in", values, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelNotIn(List<String> values) {
            addCriterion("group_service_tel not in", values, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelBetween(String value1, String value2) {
            addCriterion("group_service_tel between", value1, value2, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andGroupServiceTelNotBetween(String value1, String value2) {
            addCriterion("group_service_tel not between", value1, value2, "groupServiceTel");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailIsNull() {
            addCriterion("advertise_email is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailIsNotNull() {
            addCriterion("advertise_email is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailEqualTo(String value) {
            addCriterion("advertise_email =", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailNotEqualTo(String value) {
            addCriterion("advertise_email <>", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailGreaterThan(String value) {
            addCriterion("advertise_email >", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailGreaterThanOrEqualTo(String value) {
            addCriterion("advertise_email >=", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailLessThan(String value) {
            addCriterion("advertise_email <", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailLessThanOrEqualTo(String value) {
            addCriterion("advertise_email <=", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailLike(String value) {
            addCriterion("advertise_email like", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailNotLike(String value) {
            addCriterion("advertise_email not like", value, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailIn(List<String> values) {
            addCriterion("advertise_email in", values, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailNotIn(List<String> values) {
            addCriterion("advertise_email not in", values, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailBetween(String value1, String value2) {
            addCriterion("advertise_email between", value1, value2, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andAdvertiseEmailNotBetween(String value1, String value2) {
            addCriterion("advertise_email not between", value1, value2, "advertiseEmail");
            return (Criteria) this;
        }

        public Criteria andGroupAddressIsNull() {
            addCriterion("group_address is null");
            return (Criteria) this;
        }

        public Criteria andGroupAddressIsNotNull() {
            addCriterion("group_address is not null");
            return (Criteria) this;
        }

        public Criteria andGroupAddressEqualTo(String value) {
            addCriterion("group_address =", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressNotEqualTo(String value) {
            addCriterion("group_address <>", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressGreaterThan(String value) {
            addCriterion("group_address >", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressGreaterThanOrEqualTo(String value) {
            addCriterion("group_address >=", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressLessThan(String value) {
            addCriterion("group_address <", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressLessThanOrEqualTo(String value) {
            addCriterion("group_address <=", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressLike(String value) {
            addCriterion("group_address like", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressNotLike(String value) {
            addCriterion("group_address not like", value, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressIn(List<String> values) {
            addCriterion("group_address in", values, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressNotIn(List<String> values) {
            addCriterion("group_address not in", values, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressBetween(String value1, String value2) {
            addCriterion("group_address between", value1, value2, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andGroupAddressNotBetween(String value1, String value2) {
            addCriterion("group_address not between", value1, value2, "groupAddress");
            return (Criteria) this;
        }

        public Criteria andCopyrightIsNull() {
            addCriterion("copyright is null");
            return (Criteria) this;
        }

        public Criteria andCopyrightIsNotNull() {
            addCriterion("copyright is not null");
            return (Criteria) this;
        }

        public Criteria andCopyrightEqualTo(String value) {
            addCriterion("copyright =", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightNotEqualTo(String value) {
            addCriterion("copyright <>", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightGreaterThan(String value) {
            addCriterion("copyright >", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightGreaterThanOrEqualTo(String value) {
            addCriterion("copyright >=", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightLessThan(String value) {
            addCriterion("copyright <", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightLessThanOrEqualTo(String value) {
            addCriterion("copyright <=", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightLike(String value) {
            addCriterion("copyright like", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightNotLike(String value) {
            addCriterion("copyright not like", value, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightIn(List<String> values) {
            addCriterion("copyright in", values, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightNotIn(List<String> values) {
            addCriterion("copyright not in", values, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightBetween(String value1, String value2) {
            addCriterion("copyright between", value1, value2, "copyright");
            return (Criteria) this;
        }

        public Criteria andCopyrightNotBetween(String value1, String value2) {
            addCriterion("copyright not between", value1, value2, "copyright");
            return (Criteria) this;
        }

        public Criteria andRecordIsNull() {
            addCriterion("record is null");
            return (Criteria) this;
        }

        public Criteria andRecordIsNotNull() {
            addCriterion("record is not null");
            return (Criteria) this;
        }

        public Criteria andRecordEqualTo(String value) {
            addCriterion("record =", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordNotEqualTo(String value) {
            addCriterion("record <>", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordGreaterThan(String value) {
            addCriterion("record >", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordGreaterThanOrEqualTo(String value) {
            addCriterion("record >=", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordLessThan(String value) {
            addCriterion("record <", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordLessThanOrEqualTo(String value) {
            addCriterion("record <=", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordLike(String value) {
            addCriterion("record like", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordNotLike(String value) {
            addCriterion("record not like", value, "record");
            return (Criteria) this;
        }

        public Criteria andRecordIn(List<String> values) {
            addCriterion("record in", values, "record");
            return (Criteria) this;
        }

        public Criteria andRecordNotIn(List<String> values) {
            addCriterion("record not in", values, "record");
            return (Criteria) this;
        }

        public Criteria andRecordBetween(String value1, String value2) {
            addCriterion("record between", value1, value2, "record");
            return (Criteria) this;
        }

        public Criteria andRecordNotBetween(String value1, String value2) {
            addCriterion("record not between", value1, value2, "record");
            return (Criteria) this;
        }

        public Criteria andExt1IsNull() {
            addCriterion("ext1 is null");
            return (Criteria) this;
        }

        public Criteria andExt1IsNotNull() {
            addCriterion("ext1 is not null");
            return (Criteria) this;
        }

        public Criteria andExt1EqualTo(String value) {
            addCriterion("ext1 =", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1NotEqualTo(String value) {
            addCriterion("ext1 <>", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1GreaterThan(String value) {
            addCriterion("ext1 >", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1GreaterThanOrEqualTo(String value) {
            addCriterion("ext1 >=", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1LessThan(String value) {
            addCriterion("ext1 <", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1LessThanOrEqualTo(String value) {
            addCriterion("ext1 <=", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1Like(String value) {
            addCriterion("ext1 like", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1NotLike(String value) {
            addCriterion("ext1 not like", value, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1In(List<String> values) {
            addCriterion("ext1 in", values, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1NotIn(List<String> values) {
            addCriterion("ext1 not in", values, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1Between(String value1, String value2) {
            addCriterion("ext1 between", value1, value2, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt1NotBetween(String value1, String value2) {
            addCriterion("ext1 not between", value1, value2, "ext1");
            return (Criteria) this;
        }

        public Criteria andExt2IsNull() {
            addCriterion("ext2 is null");
            return (Criteria) this;
        }

        public Criteria andExt2IsNotNull() {
            addCriterion("ext2 is not null");
            return (Criteria) this;
        }

        public Criteria andExt2EqualTo(String value) {
            addCriterion("ext2 =", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2NotEqualTo(String value) {
            addCriterion("ext2 <>", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2GreaterThan(String value) {
            addCriterion("ext2 >", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2GreaterThanOrEqualTo(String value) {
            addCriterion("ext2 >=", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2LessThan(String value) {
            addCriterion("ext2 <", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2LessThanOrEqualTo(String value) {
            addCriterion("ext2 <=", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2Like(String value) {
            addCriterion("ext2 like", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2NotLike(String value) {
            addCriterion("ext2 not like", value, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2In(List<String> values) {
            addCriterion("ext2 in", values, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2NotIn(List<String> values) {
            addCriterion("ext2 not in", values, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2Between(String value1, String value2) {
            addCriterion("ext2 between", value1, value2, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt2NotBetween(String value1, String value2) {
            addCriterion("ext2 not between", value1, value2, "ext2");
            return (Criteria) this;
        }

        public Criteria andExt3IsNull() {
            addCriterion("ext3 is null");
            return (Criteria) this;
        }

        public Criteria andExt3IsNotNull() {
            addCriterion("ext3 is not null");
            return (Criteria) this;
        }

        public Criteria andExt3EqualTo(String value) {
            addCriterion("ext3 =", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3NotEqualTo(String value) {
            addCriterion("ext3 <>", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3GreaterThan(String value) {
            addCriterion("ext3 >", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3GreaterThanOrEqualTo(String value) {
            addCriterion("ext3 >=", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3LessThan(String value) {
            addCriterion("ext3 <", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3LessThanOrEqualTo(String value) {
            addCriterion("ext3 <=", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3Like(String value) {
            addCriterion("ext3 like", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3NotLike(String value) {
            addCriterion("ext3 not like", value, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3In(List<String> values) {
            addCriterion("ext3 in", values, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3NotIn(List<String> values) {
            addCriterion("ext3 not in", values, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3Between(String value1, String value2) {
            addCriterion("ext3 between", value1, value2, "ext3");
            return (Criteria) this;
        }

        public Criteria andExt3NotBetween(String value1, String value2) {
            addCriterion("ext3 not between", value1, value2, "ext3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}